{% from "shuup/admin/macros/general.jinja" import content_block %}
{% from "shuup/admin/macros/multilanguage.jinja" import language_dependent_content_tabs, render_monolingual_fields %}
{% set base_form = form["base"] %}

{% call content_block(_("General Information"), icon="fa-info-circle") %}
    {{ language_dependent_content_tabs(base_form, exclude=["maintenance_message"]) }}
    <div class="form-divider"></div>
    {{ render_monolingual_fields(base_form, exclude=["maintenance_mode", "logo", "favicon"]) }}
{% endcall %}
{% call content_block(_("Shop Images"), icon="fa-image") %}
    {{ render_monolingual_fields(base_form, field_names=["logo", "favicon"]) }}
{% endcall %}
{% call content_block(_("Maintenance Mode"), icon="fa-cogs") %}
    {{ render_monolingual_fields(base_form, field_names=["maintenance_mode"]) }}
    {{ language_dependent_content_tabs(base_form, field_names=["maintenance_message"], tab_id_prefix="maint") }}
{% endcall %}
